package hcn.protocol.brandnew.dengji.zhuyuandengji;

import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.Date;


/**
 * 电子住院证信息查询-响应消息(成功) - ODS_02020008_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class ElectronicProofResponse {

    /**
     * 医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 机构名称
     */
    @XmlElement(name = "VisitOrganizationName")
    private String visitOrganizationName;
    /**
     * 住院证号
     */
    @XmlElement(name = "HospitalProveCode")
    private String hospitalProveCode;
    /**
     * 出院西医诊断-其他诊断疾病编码
     */
    @XmlElement(name = "DiagnoseCode")
    private String diagnoseCode;
    /**
     * 入院西医诊断-疾病编码
     */
    @XmlElement(name = "DiagnoseName")
    private String diagnoseName;
    /**
     * 住院科室名称
     */
    @XmlElement(name = "VisitDeptName")
    private String visitDeptName;
    /**
     * 科室代码
     */
    @XmlElement(name = "VisitDeptId")
    private String visitDeptId;
    /**
     * 员工姓名
     */
    @XmlElement(name = "PersonName")
    private String personName;
    /**
     * 员工ID
     */
    @XmlElement(name = "PersonId")
    private String personId;
    /**
     * 开单日期
     */
    @XmlElement(name = "ProveDate")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date proveDate;

}
